package cn.woniu.ecommerceplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 客户端一级菜单
 * @TableName menu1
 */
@TableName(value ="menu3")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu3 implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 一级菜单名
     */
    @TableField(value = "menuname")
    private String menuname;

    /**
     * 图标
     */
    @TableField(value = "icon")
    private String icon;

    private String index;

    private List<Menu4> menu4s;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}